package com.zhenwgang.listen_books.view_object;

import com.zhenwgang.listen_books.data_object.TrackDO;
import lombok.Data;

/**
 * 音乐列表前端资源
 * @author Violet
 * @date 2022/07/09 15:27
 **/

@Data
public class ListTrackView {
    public Integer tid;
    public String title;
    public Integer refCount;

    public ListTrackView(TrackDO trackDO, int refCount){
        this.tid = trackDO.tid;
        this.title = trackDO.title;
        this.refCount = refCount;
    }
}